﻿using System;
using System.Collections.Generic;

namespace Sustainalytics.ComprehensiveESGResearch.Service.Model
{
    public class RPIndicatorExtendedDto
    {
        public Guid Id { get; set; }
        public Guid CompanyId { get; set; }
        public string Number { get; set; }
        public TemplateDto Template { get; set; }
        public SelectedAnswerDto SelectedAnswer { get; set; }
        public string Comments { get; set; }
        public double? Weight { get; set; }
        public double? WeightedScore { get; set; }
        public List<DataTableDto> DataTable { get; set; }
    }

    public class TemplateDto
    {
        public string Name { get; set; }
        public string ThemeName { get; set; }
        public string IndicatorCategory { get; set; }
    }

    public class SelectedAnswerDto
    {
        public int Score { get; set; }
        public string Text { get; set; }
    }

    /// <summary>
    ///This class is used only for checking if 
    ///there are any items in the DataTable field in 
    ///RPIndicatorExtended collection
    /// </summary>
    public class DataTableDto
    {
    }
}
